package com.meilai.project.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meilai.project.dto.workflow.WorkFlowConditionForDepJobDTO;
import com.meilai.project.entity.system.UserDepartmentRelation;
import com.meilai.project.vo.system.WebUserDepartmentRelationByUserIdVO;

import java.util.List;

/**
 * @author 张驰
 * @date 2020/11/24 16:00
 */
public interface UserDepartmentRelationService extends IService<UserDepartmentRelation> {
    Integer countUserRelationByDepartmentId(List<Long> department_ids);

    List<WebUserDepartmentRelationByUserIdVO> getWebVOByUserId(Long user_id);

    List<WebUserDepartmentRelationByUserIdVO> getWebVOByUserIds(List<Long> user_ids);

    List<WorkFlowConditionForDepJobDTO> getDepJobForWorkFlow();
}
